import { Prop, Schema } from '@nestjs/mongoose';
import { Document } from 'mongoose';

@Schema()
export class ChatMessage extends Document {
  @Prop()
  message: string;

  @Prop()
  sessionId: string;

  @Prop()
  issuer: string;
  
  @Prop()
  time: number;

}
